<layout name="layout" />
	
                <div class="page-header"><!-- Page header -->
                    <h5><i class="font-home"></i>后台首页</h5>
                </div><!-- /page header -->
                
                <div class="body">
                	
                    <!-- Middle navigation standard -->
                    <ul class="midnav">
                    	<li><a href="{:U('Admin/New/add')}" title="发布新闻"><img src="../Public/images/issue.png" alt="" /><SPAN>发布新闻</SPAN></a></li>
                    	<li><a href="{:U('Admin/Product/add')}" title="添加产品"><img src="../Public/images/product.png" alt="" /><SPAN>添加产品</SPAN></a></li>
                    	<li><a href="{:U('Admin/Comment/index')}" title="留言咨询管理"><img src="../Public/images/comment.png" alt="" /><SPAN>留言管理</SPAN></a></li>
                    	<li><a href="{:U('Admin/Seokey/index')}" title="长尾关键词记录单管理"><img src="../Public/images/order-149.png" alt="" /><SPAN>长尾记录单</SPAN></a></li>
                    	<li><a href="{:U('Admin/Seokey/search')}" title="挖掘关键词"><img src="../Public/images/config.png" alt="" /><SPAN>挖掘关键词</SPAN></a></li>
                    	<li><a href="{:U('Admin/Spider/index')}" title="蜘蛛爬行日志"><img src="../Public/images/Spider.png" alt="" /><SPAN>蜘蛛爬行日志</SPAN></a></li>
                    	<li><a href="{:U('Admin/Link/index')}" title="检查友情链接"><img src="../Public/images/donate.png" alt="" /><SPAN>链接检查</SPAN></a></li>
                    </ul>
                    <!-- /middle navigation standard -->

                    <!-- Content container -->
                    <div class="container">

                        <!-- Site Summary -->
                        <div class="block well">
                            <div class="navbar">
                                <div class="navbar-inner">
                                    <h5>今日网站概况</h5>
                                    <div class="nav pull-right">
                                        <a href="#" class="dropdown-toggle just-icon" data-toggle="dropdown"><i class="font-cog"></i></a>
                                        <ul class="dropdown-menu pull-right">
																				<volist name="configgroup" id="cg">
																					<li><a href="{:U('Admin/Config/setting?group='.$cg['name'])}"><i class="{$cg.icon}"></i>{$cg.title}</a></li>
																				</volist>
                                        </ul>
                                    </div>
                                </div>
                            </div>

		                        <div class="table-overflow siteinfo">
		                           <table class="table table-bordered table-block">
		                              <thread><tr><th colspan="6">蜘蛛今日爬行统计</th></tr></thread>
		                              <tr>
		                              	<th>Baidu <strong title="百度权重 BR" class="info-primary">{$siteinfo['baidu_br']}</strong></th><td>{$siteinfo['today_baidu']} 次</td>
		                              	<th>Google <strong title="Google权重 PR" class="info-success">{$siteinfo['google_pr']}</strong></th><td>{$siteinfo['today_google']} 次</td>
		                              	<th>Sogou</th><td>{$siteinfo['today_sogou']} 次</td>
		                              </tr>
		                              <tr>
		                              	<th>Soso</th><td>{$siteinfo['today_soso']} 次</td>
		                              	<th>Yahoo</th><td>{$siteinfo['today_yahoo']} 次</td>
		                              	<th>Bing</th><td>{$siteinfo['today_bing']} 次</td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">蜘蛛爬行模块统计</th></tr></thread> 
		                              <tr>
		                              	<th>新闻</th><td>{$siteinfo['module_new']} 次</td>
		                              	<th>产品</th><td>{$siteinfo['module_product']} 次</td>
		                              	<th>下载</th><td>{$siteinfo['module_down']} 次</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td>{$siteinfo['module_case']} 次</td>
		                              	<th>招聘</th><td>{$siteinfo['module_job']} 次</td>
		                              	<th>博客</th><td>{$siteinfo['module_blog']} 次</td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">百度蜘蛛爬行统计</th></tr></thread>
		                              <tr>
		                              	<th>新闻</th><td>{$siteinfo['baidu_new']} 次</td>
		                              	<th>产品</th><td>{$siteinfo['baidu_product']} 次</td>
		                              	<th>下载</th><td>{$siteinfo['baidu_down']} 次</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td>{$siteinfo['baidu_case']} 次</td>
		                              	<th>招聘</th><td>{$siteinfo['baidu_job']} 次</td>
		                              	<th>博客</th><td>{$siteinfo['baidu_blog']} 次</td>
		                              </tr>               
		                              
		                              <thread><tr><th colspan="6">今日用户访问统计</th></tr></thread>
		                              <tr>
		                              	<th>新闻</th><td>{$siteinfo['user_new']} 次</td>
		                              	<th>产品</th><td>{$siteinfo['user_product']} 次</td>
		                              	<th>下载</th><td>{$siteinfo['user_down']} 次</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td>{$siteinfo['user_case']} 次</td>
		                              	<th>招聘</th><td>{$siteinfo['user_job']} 次</td>
		                              	<th>博客</th><td>{$siteinfo['user_blog']} 次</td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">网站收录统计</th></tr></thread>
		                              <tr>
		                              	<th>Baidu<if condition="$siteinfo['site_baidu_index'] eq 1"> <strong title="首页不在第一位" class="info-danger">-1</strong></if></th><td>{$siteinfo['site_baidu_count']} 篇<if condition="$siteinfo['site_baidu_plus'] lt 0"> <strong title="今日收录减少<php>echo abs($siteinfo['site_baidu_plus']);</php>篇" class="info-warning">{$siteinfo['site_baidu_plus']}</strong></if><if condition="$siteinfo['site_baidu_plus'] gt 0"> <strong title="今日收录增加<php>echo abs($siteinfo['site_baidu_plus']);</php>篇" class="info-success">+{$siteinfo['site_baidu_plus']}</strong></if></td>
		                              	<th>Google<if condition="$siteinfo['site_google_index'] eq 1"> <strong title="首页不在第一位" class="info-danger">-1</strong></if></th><td>{$siteinfo['site_google_count']} 篇<if condition="$siteinfo['site_google_plus'] lt 0"> <strong title="今日收录减少<php>echo abs($siteinfo['site_google_plus']);</php>篇" class="info-warning">{$siteinfo['site_google_plus']}</strong></if><if condition="$siteinfo['site_google_plus'] gt 0"> <strong title="今日收录增加<php>echo abs($siteinfo['site_google_plus']);</php>篇" class="info-success">+{$siteinfo['site_google_plus']}</strong></if></td>
		                              	<th>Sogou<if condition="$siteinfo['site_sogou_index'] eq 1"> <strong title="首页不在第一位" class="info-danger">-1</strong></if></th><td>{$siteinfo['site_sogou_count']} 篇<if condition="$siteinfo['site_sogou_plus'] lt 0"> <strong title="今日收录减少<php>echo abs($siteinfo['site_sogou_plus']);</php>篇" class="info-warning">{$siteinfo['site_sogou_plus']}</strong></if><if condition="$siteinfo['site_sogou_plus'] gt 0"> <strong title="今日收录增加<php>echo abs($siteinfo['site_sogou_plus']);</php>篇" class="info-success">+{$siteinfo['site_sogou_plus']}</strong></if></td>
		                              </tr>
		                              <tr>
		                              	<th>Soso<if condition="$siteinfo['site_soso_index'] eq 1"> <strong title="首页不在第一位" class="info-danger">-1</strong></if></th><td>{$siteinfo['site_soso_count']} 篇<if condition="$siteinfo['site_soso_plus'] lt 0"> <strong title="今日收录减少<php>echo abs($siteinfo['site_soso_plus']);</php>篇" class="info-warning">{$siteinfo['site_soso_plus']}</strong></if><if condition="$siteinfo['site_soso_plus'] gt 0"> <strong title="今日收录增加<php>echo abs($siteinfo['site_soso_plus']);</php>篇" class="info-success">+{$siteinfo['site_soso_plus']}</strong></if></td>
		                              	<th>Yahoo<if condition="$siteinfo['site_yahoo_index'] eq 1"> <strong title="首页不在第一位" class="info-danger">-1</strong></if></th><td>{$siteinfo['site_yahoo_count']} 篇<if condition="$siteinfo['site_yahoo_plus'] lt 0"> <strong title="今日收录减少<php>echo abs($siteinfo['site_yahoo_plus']);</php>篇" class="info-warning">{$siteinfo['site_yahoo_plus']}</strong></if><if condition="$siteinfo['site_yahoo_plus'] gt 0"> <strong title="今日收录增加<php>echo abs($siteinfo['site_yahoo_plus']);</php>篇" class="info-success">+{$siteinfo['site_yahoo_plus']}</strong></if></td>
		                              	<th>Bing<if condition="$siteinfo['site_bing_index'] eq 1"> <strong title="首页不在第一位" class="info-danger">-1</strong></if></th><td>{$siteinfo['site_bing_count']} 篇<if condition="$siteinfo['site_bing_plus'] lt 0"> <strong title="今日收录减少<php>echo abs($siteinfo['site_bing_plus']);</php>篇" class="info-warning">{$siteinfo['site_bing_plus']}</strong></if><if condition="$siteinfo['site_bing_plus'] gt 0"> <strong title="今日收录增加<php>echo abs($siteinfo['site_bing_plus']);</php>篇" class="info-success">+{$siteinfo['site_bing_plus']}</strong></if></td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">网站内容统计</th></tr></thread>
		                              <tr>
		                              	<th>新闻</th><td>{$catcount['New']['counts']} 篇</td>
		                              	<th>产品</th><td>{$catcount['Product']['counts']} 个</td>
		                              	<th>下载</th><td>{$catcount['Down']['counts']} 篇</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td>{$catcount['Case']['counts']} 个</td>
		                              	<th>招聘</th><td>{$catcount['Job']['counts']} 条</td>
		                              	<th>博客</th><td>{$catcount['Blog']['counts']} 篇</td>
		                              </tr>
		                              	                              
			                         </table>
			                      </div>

                        </div>
                        <!-- /Site Summary -->

                        <div class="separator-doubled"></div> 

                        <div class="row-fluid">

                            <!-- Column --> 
                            <div class="span6">

                                <!-- Timeline messages -->
                                <div class="block well">
                                    <div class="navbar">
                                        <div class="navbar-inner">
                                            <h5>最新留言咨询</h5>
                                        </div>
                                    </div>
                                    <div class="body">
                                        <div class="timeline-messages">
                                        <volist name="commentlist" id="vo">
                                            <!-- Comment -->
                                            <div class="message">
                                                <a class="message-img" href="#"><img src="../Public/images/man_44.png" alt="" /></a>
                                                <div class="message-body">
                                                    <div class="text"><p>{$vo[contents]}</p></div>
                                                    <p class="attribution">by <a href="#non">{$vo[nickname]}</a> at {$vo[create_time]|toDate} <a href="#">回复</a></p>
                                                </div>
                                            </div>
                                            <!-- /comment -->
                                        </volist>
                                        </div>
                                        
                                        <!-- Enter message input -->
                                        <div class="enter-message">
                                            <textarea name="enter-message" class="auto" rows="3" cols="1" placeholder="Enter your message..."></textarea>
                                            <div class="message-actions">
                                                <div class="user-is-typing"><img src="../Public/images/8s.gif" alt="" />客服回复内容...</div>
                                                <div class="send-button">
                                                    <input type="submit" name="send-message" class="btn btn-danger" value="回复留言" />
                                                </div>
                                            </div>
                                        </div>
                                        <!-- /enter message input -->
                                        
                                    </div>
                                </div>
                                <!-- /timeline messages -->

                            </div>  
                            <!-- /column -->  

                            <!-- Column -->
                            <div class="span6">

                                <!-- Calendar -->
                                <div class="block well">
                                    <div class="navbar"><div class="navbar-inner"><h5>系统信息概况</h5></div></div>
		                                		<div class="table-overflow">
		                                    	<table class="table table-bordered table-block">
		                                    		<volist name="info" id="vo">
		                                    			<tr><td>{$key}</td><td>{$vo}</td></tr>
		                                    		</volist>
			                                    </table>
			                                  </div>
                                </div>
                                <!-- /calendar -->

                            </div>
                            <!-- /column -->

                        </div>

                    </div>
                    <!-- /content container -->
                    
                </div>